package com.thb.business.service.Impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.thb.business.dao.IBookDao;
import com.thb.business.model.Book;
import com.thb.business.model.BookColumn;
import com.thb.business.service.IBookColumnService;

@Service
public class BookColumnServiceImpl implements IBookColumnService {
	
	Logger logger = LoggerFactory.getLogger(getClass());
	
	@Autowired
	private IBookDao bookDao;

	@Override
	public List<Book> findAllList(BookColumn para) {
		return bookDao.findAll(para);
	}

	@Override
	public int countAllList(BookColumn para) {
		return bookDao.countAll(para);
	}


}
